#include <windows.h>
#include <stdio.h>
#include "ukonton.h"

#define UKHDR_VER 0x10
#define PLUGIN_NAME "index"
#define PLUGIN_VERS "v0.1"

int init();
char *run(char* args);

ukontonModule module_index =
{
	UKHDR_VER,
	PLUGIN_NAME,
	PLUGIN_VERS,
	init,
	run,
};

int init(){
	return 0;
}

char *run(char* args){
	char *buf;
	buf=malloc(sizeof(char)*512+1);
	sprintf_s(buf,512,"\
<html>\
	<head>\
		<title>uKonton</title>\
	<head>\
	<body>\
		<h1>ukonton</h1><hr>\
		personal information manager<br>\
		<a href=\"http://ukonton.googlecode.com/\" target=\"about:blank\">project page</a>\
		<br>\
		<br>\
		<a href=\"testplugin/hello world\">testplugin</a>\
	</body>\
</html>\
	");
	return buf;
}
